#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName  :tupletext.py
# @Time      :2021/3/15 18:21
# @Author    :Letquit
"""
文件说明：

"""
L = [('Bob', 75), ('Adam', 92), ('Bart', 66), ('Lisa', 88)]
def by_name(t):
    return t[0]
print(sorted(L, key=by_name))
if __name__ == "__main__":
    run_code = 0
